package vivek.project.pocketmoney.common.utils
{
	import flash.events.Event;
	import mx.collections.ArrayCollection;
	import mx.controls.Label;
	import vivek.project.pocketmoney.common.CommonData;

	public class StatusBar
	{

		public static function addMessageToStatusBar(message:String, priority:int):void
		{
			var label:Label=new Label();
			var messages:ArrayCollection=new ArrayCollection();
			var messageId:int=0;
			var messageObj:Object=new Object();
			messageObj.messageId=messageId;
			messageObj.message=message;
			messages.addItem(messageObj);
			label.dispatchEvent(new Event(CommonData.STATUS_EVENT));
		}

		public function StatusBar()
		{
		}

		public function removeMessageFromStatusBar(messageId:int):void
		{
		}
	}
}